// SPDX-License-Identifier: GPL-2.0-or-later
// Copyright (c) 2023 Yevhen Babiichuk (DustDFG)

#include <SFML/Window.hpp>
#include <SFML/Graphics.hpp>

#include <filesystem>

#include <DotSort/Game.hpp>

int main(int argc, char *argv[])
{
	auto exe_folder = std::filesystem::canonical(std::filesystem::path(argv[0])).parent_path();

	std::filesystem::current_path(exe_folder);

	Game* game = Game::getInstance();
	game->run();

	delete game;

	return 0;
}
